package com.sls.game.dao.xinhe;

import java.util.List;

import com.sls.game.pojo.xinhe.XinHeGame;

public interface XinHeGameDAO {

	/**
	 * 插入游戏信息
	 * 
	 * @param product
	 */
	public void insert(XinHeGame game);

	/**
	 * 修改游戏信息
	 * 
	 * @param product
	 */
	public void update0(XinHeGame game);
	
	public void update(XinHeGame game);

	/**
	 * 查询
	 * 
	 * @param game
	 * @return
	 */
	public XinHeGame queryByAreaIdOrServerId(XinHeGame game);

	/**
	 * 清空数据
	 */
	public void delete();

	public List<XinHeGame> queryAllGame(String companyId);

	public List<XinHeGame> queryByAreaNameOrServerName(XinHeGame game);

	public List<XinHeGame> queryByCompanyId(String companyId);

	public List<String> queryAreaNameByCompanyId(String companyId);

}
